#ifndef     __LOG_UART_RECV_TASK_H
#define     __LOG_UART_RECV_TASK_H

#include "../rtos/thread.h"
#include "../utils/object.h"

namespace task {

class LogUartRecvTask : public rtos::Thread<LogUartRecvTask, 1024, osPriorityHigh1> {

public:
    void run();

private:
    uint32_t pkg_exec(const uint8_t *buf, uint32_t len);
};

inline utils::object_t<LogUartRecvTask> logUartRecvTask;

}


#endif
